package org.jeecg.modules.yfFangj.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 营房房间
 * @Author: jeecg-boot
 * @Date:   2020-06-22
 * @Version: V1.0
 */
@ApiModel(value="hq_yf_fangj对象", description="营房房间")
@Data
@TableName("hq_yf_fangj")
public class HqYfFangj implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**楼宇*/
	@Excel(name = "楼宇", width = 15, dictTable = "hq_louy", dicText = "name", dicCode = "id")
    @Dict(dictTable = "hq_louy", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "楼宇")
    private java.lang.String louyId;
	/**楼层*/
	@Excel(name = "楼层", width = 15)
    @ApiModelProperty(value = "楼层")
    private java.lang.Integer floor;
	/**房型*/
	@Excel(name = "房型", width = 15, dicCode = "fangx")
    @Dict(dicCode = "fangx")
    @ApiModelProperty(value = "房型")
    private java.lang.String fangx;
	/**房间号*/
	@Excel(name = "房间号", width = 15)
    @ApiModelProperty(value = "房间号")
    private java.lang.String roomnu;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "yf_room_status")
    @Dict(dicCode = "yf_room_status")
    @ApiModelProperty(value = "状态")
    private java.lang.String status;
	/**使用人*/
	@Excel(name = "使用人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "使用人")
    private java.lang.String shiyrId;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remarks;
}
